<!DOCTYPE html>
<html lang="zh-Hans" >
<head>
	<title>随访信息详情</title>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chorme=1">
	<meta name="renderer" content="webkit">
	<script src="/static/cqzd/js/boot.js"></script>
	<script src="/static/cqzd/js/national.js"></script>
	<style>
		input{

		}
	</style>
</head>
<body>

<div id="tabs1" class="mini-tabs" activeIndex="0" style="width:100%;height:100%;" plain="false">
	<div title="随访基本信息" >
		<div style="padding-top:5px">
			<div id="flup_form">
				<table style="width:100%;height:100%;table-layout:fixed;text-align: right;padding-right: 50px;line-height: 40px" class="mini-form-table" >
					<tr>
						<th class="mini-form-label"><label>就诊时间：</label></th>
						<td>
							<input id="recordTime" name="recordTime" class="mini-datepicker  mini-form-input myInput"  format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true"/>
						</td>

						<th class="mini-form-label"><label>患者姓名：</label></th>
						<td>
							<input id="patientName" name="patientName" class="mini-textbox  mini-form-input myInput"/>
						</td>

						<th class="mini-form-label"><label>身份证号：</label></th>
						<td>
							<input id="patientCardId" name="patientCardId" class="mini-textbox  mini-form-input myInput"/>
						</td>

					</tr>

					<tr >
						<th class="mini-form-label"><label>门诊号：</label></th>
						<td>
							<input id="outpatientNo" name="outpatientNo" class="mini-textbox  mini-form-input myInput"/>
						</td>

						<th class="mini-form-label"><label>随访时间：</label></th>
						<td>
							<input id="flupTime" name="flupTime"  class="mini-datepicker  mini-form-input myInput"  format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true"/>
						</td>

						<th class="mini-form-label"><label>妊娠结局：</label></th>
						<td>
							<input id="gestResultName" name="gestResultName" class="mini-textbox mini-form-input myInput"   />
						</td>



					</tr>
					<tr class="odd">


						<th class="mini-form-label"><label>新生儿性别：</label></th>
						<td >
							<input id="nbcSex" name="nbcSex" class="mini-combobox mini-form-input myInput txk-dict" dict="CQ_BASE_SEX" />
						</td>
						<th class="mini-form-label"><label>出生日期：</label></th>
						<td>
							<input id="nbcBirthday" name="nbcBirthday" class="mini-datepicker mini-form-input myInput" />
						</td>

						<th class="mini-form-label"><label>出生体重(kg)：</label></th>
						<td>
							<input id="nbcBw" name="nbcBw" class="mini-textbox  mini-form-input myInput" />
						</td>



					</tr>

					<tr>
						<th class="mini-form-label"><label>孕龄周：</label></th>
						<td>
							<input id="gestWeeks" name="gestWeeks" class="mini-textbox mini-form-input myInput" />
						</td>

						<th class="mini-form-label"><label>孕龄天：</label></th>
						<td>
							<input id="gestDays" name="gestDays" class="mini-textbox mini-form-input myInput "  />
						</td>

						<th class="mini-form-label"><label>出生地点：</label></th>
						<td>
							<input id="birthPlace" name="birthPlace" class="mini-textbox mini-form-input myInput " />
						</td>


					</tr>
					<tr>
						<th class="mini-form-label"><label>出生检查：</label></th>
						<td>
							<input id="birthInspection" name="birthInspection" class="mini-textbox  mini-form-input myInput" />
						</td>
						<th class="mini-form-label"><label>后续治疗：</label></th>
						<td>
							<input id="flupCure" name="flupCure" class="mini-textbox  mini-form-input myInput"/>
						</td>

						<th class="mini-form-label"><label>引产孕龄周：</label></th>
						<td>
							<input id="inducedGestWeeks" name="inducedGestWeeks" class="mini-textbox  mini-form-input myInput"/>
						</td>


					</tr>
					<tr>
						<th class="mini-form-label"><label>引产孕龄天：</label></th>
						<td>
							<input id="inducedGestDays" name="inducedGestDays" class="mini-textbox  mini-form-input myInput"/>
						</td>
						<th class="mini-form-label"><label>引产特殊情况：</label></th>
						<td>
							<input id="inducedSpecial" name="inducedSpecial" class="mini-textbox  mini-form-input myInput"/>
						</td>

						<th class="mini-form-label"><label>引产原因：</label></th>
						<td>
							<input id="inducedCauseName" name="inducedCauseName" class="mini-textbox  mini-form-input myInput"/>
						</td>


					</tr>
					<tr>
						<th class="mini-form-label"><label>是否标本留存：</label></th>
						<td>
							<input id="isSpecKeep" name="isSpecKeep" class="mini-combobox  mini-form-input myInput" data="[{id:'1',text:'是'},{id:'2',text:'否'}]"/>
						</td>
						<th class="mini-form-label"><label>留存标本：</label></th>
						<td>
							<input id="specKeepName" name="specKeepName" class="mini-textbox mini-form-input myInput"/>
						</td>

						<th class="mini-form-label"><label>是否尸检：</label></th>
						<td>
							<input id="isPme" name="isPme" class="mini-combobox  mini-form-input myInput" data="[{id:'1',text:'是'},{id:'2',text:'否'}]"/>
						</td>


					</tr>

					<tr>
						<th class="mini-form-label"><label>是否有效：</label></th>
						<td>
							<input id="isValid" name="isValid" class="mini-combobox  mini-form-input myInput" data="[{id:'1',text:'是'},{id:'2',text:'否'}]" />
						</td>

						<th class="mini-form-label"><label>随访备注：</label></th>
						<td>
							<input id="flupRemark" name="flupRemark" class="mini-textbox  mini-form-input myInput"/>
						</td>

					</tr>
				</table>
			</div>
		</div>
	</div>

	<div title="病历查询" class="mini-tabs">
		<div class="mini-fit"  >
			<div id="files_grid" class="mini-datagrid" style="width:100%;height:100%;"  showPager='false'  >
				<div property="columns">
					<div field="fileName" width="260" headerAlign="center" align="center" allowSort="false" renderer="onActionRenderer">文件名称</div>
					<div field="fileExtension" width="120" headerAlign="center" align="center" allowSort="false" >文件后缀</div>
					<div field="fileSize" width="120" headerAlign="center" align="center" allowSort="false">文件大小(kb)</div>
					<div field="fileUpTime" width="160" headerAlign="center" align="center" allowSort="false" dateFormat="yyyy-MM-dd hh:mm:ss">上传时间</div>
					<div field="fileDownloadNo" width="120" headerAlign="center" align="center" allowSort="false" >下载次数</div>
<!--					<div field="fileRemark" width="120" headerAlign="center" align="center" allowSort="false">文件备注</div>-->
					<div field="upUserName" width="160" headerAlign="center" align="center" allowSort="false">上传人</div>

				</div>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	txkui.parse();
	var form = new mini.Form("flup_form");
	var files_grid = mini.get("files_grid");
	//设置表单元素只读
	form.setEnabled(false);

	function onActionRenderer(e) {
		var row=e.row;
		var aa = row.fileName;
		var s =  '<a href="/cqzd/do/flupfile/getFileByCode/' + row.fileCode + '">' + aa + '</a>';
		return s;

	}


	function SetData(dataP) {
		//跨页面传递的数据对象，克隆后才可以安全使用
		var data = mini.clone(dataP);
		var result=data.data;



		form.setData(result.flupAndDiacModel);
		files_grid.setData(result.flupFiles);

	}



</script>
</body>
</html>